﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo06
{
    class StringUtil
    {
        public static void StringUtil1()
        {
            Console.WriteLine("请输入字符串");
            string a = Console.ReadLine();
            foreach (char item in a)
            {
                if (char.IsWhiteSpace(item) || a == null)
                {
                    Console.WriteLine("true");
                }
                else
                {
                    Console.WriteLine("false");
                }
            }

        }
    }
    }


}
